package vip.web3.admin.sys.dao.biz;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import vip.web3.admin.sys.entity.biz.AUserEntity;
import vip.web3.admin.sys.form.user.AuthPageForm;
import vip.web3.admin.sys.vo.biz.AuthVo;

import java.util.List;
import java.util.Map;

/**
 * aut-horlilei
 */
@Mapper
public interface AUserDao extends BaseMapper<AUserEntity> {

    AuthVo getAuthInfo(Integer id);


    IPage<AuthVo> pageAuthInfo(IPage<AuthVo> pageParam, Map<String, Object> params, AuthPageForm form);

    Integer batchSetAuthStatus(List<Integer> ids, Integer code);

    Integer batchSetStatus(List<Integer> ids, Integer code);
}
